package com.jiang.spring_security_singleboot.service;

import com.jiang.spring_security_singleboot.domain.SysUser;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;
import java.util.Map;

/**
 * @中软华腾软件系统有限公司,未经授权不得擅自传播
 * @类描述:
 * @类名称:IUserService
 * @作者: 蒋正午
 * @编辑时间: 2021/4/27 9:14
 * @版本: 1.0
 */
public interface IUserService extends UserDetailsService {

    public void save(SysUser user);

    public List<SysUser> findAll();

    public Map<String, Object> toAddRolePage(Integer id);

    public void addRoleToUser(Integer userId, Integer[] ids);
}
